-- card: 25342 from stack: in.1 -- bmap block id: 0 -- flags: 0000 -- background id: 2612 -- name: GetDANames -- part 1 (button) -- low flags: 00 -- high flags: A004 -- rect: left=260 top=30 right=52 bottom=368 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: getDANames ----- HyperTalk script ----- on mouseUp if the optionkey is down then pass mouseup set cursor to 4 getDANames DoList "select","cancel",namesofDAs,ONE end mouseUp -- part 2 (button) -- low flags: 00 -- high flags: A003 -- rect: left=82 top=302 right=324 bottom=182 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Install ----- HyperTalk script ----- on mouseUp if the optionkey is down then pass mouseup put installres(XCMD,getDANames) into it if it is empty then play oops else answer it end mouseUp -- part contents for background part 13 ----- text ----- 20 -- part contents for background part 2 ----- text ----- GetDANames -- part contents for background part 3 ----- text ----- This will return a list of all installed DAs. Send comments & suggestions to Aron Roberts: CompuServe: 73075,1342 GEnie: ARON ARPA Internet: csaron@garnet.Berkeley.EDU BITNET: CSARON@UCBCMSA.BITNET This XCMD may be freely distributed. See also NumberofDAs* -- part contents for background part 10 ----- text ----- Syntax: getDANames Puts the names of the DAs in the Apple menu into an item list COMMAND (in which each item is separated from the next by a comma) in the memory variable container, "namesOfDAs". If "namesOfDAs" does not already exist, it is created automatically. EXAMPLES: getDANames -- puts list into "namesOfDAs" container put namesOfDAs into card field "DANames" put item 2 of namesOfDAs into nameOfSecondDA The numberOfDAs*() function and getDANames command may be used in any noncommercial or commercial stacks.